import math
from geometria import Geometria
from operaciones import Operaciones

class Circulo(Geometria):
    def __init__(self,r):
        self._radio = r

    def area(self):
        oper = Operaciones(math.pi*self, self._radio) #Pi, radio
        mult = oper.multiplicacion() # Pi * radio
        oper.set_oper1(mult) # oper1 = Pi * radio
        oper.set_oper2(self._radio) # oper2 = radio
        return (oper.multiplicacion()) #Pi * radio * radio
